use std::collections::HashMap;
use wang_utils::hashmap::HashmapCustom;

#[test]
fn test_hashmap() {
    let mut map = HashMap::new();
    map.set_value("1", 2);
    map.set_value("3", "123");
    println!("map:{map:?}");
    let a = map.get("1");
    println!("a:{a:?}");
    let a = map.get_value::<i32>("1");
    println!("a:{a:?}");
    assert_eq!(Some(2), a);
}
